package ca.liu.study.springdata.jpa.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

import ca.liu.study.springdata.jpa.domain.Student;

public interface StudentRepository extends JpaRepository<Student, Long> {

	public Student findByEmail(@Param("email") String email);
}
